$(document).on("click",".imageBig",function(){
	var url=$(this).attr("src");
	var $me = $(this);
			qiao2.bs.dialog({
				id: 'bigImgDiv',
				url : './imageBig/imgBig.htm?url=' + url,
				title : '图片',
				close : 'true',
				foot : false,
				mstyle : 'width: 540px',
				callback: function(){
					var $tmp = $me.clone();
					$tmp.attr("width","100%").css("width","100%");
					$tmp.attr("height","").css("height","auto");
					$(".modal-body").append($tmp);
			    }
			}, function() {
				//回调触发关闭窗口
				$("#bsmodal").modal("hide");
			});
	
});


document.onkeydown = function(e){ 
    var ev = document.all ? window.event : e;
    if(ev.keyCode==13) {
    	if($("#commentDiv:visible").length==0&&$(".modal:visible").length==0){
    	refresh();//搜索
    	}
     }
}

